package javaBase;

/**
 * @program: jvm
 * @description
 * @author: tkk fendoukaoziji
 * @create: 2019-04-09 14:15
 **/
public class TestRound {
    public static void main(String[] args) {
        long r1 = Math.round(11.5);
        long r2 = Math.round(-11.5);
        System.out.println(r1);
        System.out.println(r2);

    }
}
